import React from 'react'  
import { Router, Route, IndexRoute, browserHistor, Link } from 'react-router'  

// 引入所有基础配置


// import Demo1 from '../page' 
import News from '../pages/News' 
// import Login from '@pages/Login' 
// import Index from '@pages/Index' 


export default class RouteMap extends React.Component {  
    updateHandle () {  
        console.log('每次router变化之后都会触发')  
    }  
    render () {  
        return (  
            <Router history={this.props.history}  onUpdate={this.updateHandle.bind(this)}>  
                <Route path='/' component={News}></Route>  
            </Router>  
        )  
    }  
}  